package com.woniuxy.platform.feign;

import com.woniuxy.certified.dao.CertifiedInfo;
import com.woniuxy.core.model.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "carport-certified")
@ComponentScan
public interface CertifiedClient {

    @GetMapping("/certified/applicationForm/passApplication")
    Result<CertifiedInfo> passApplication(@RequestParam("id") Integer id);

}
